@extends('edu::layouts.center')
@section('content')
    <div class="card">
        <div class="card-header bg-white">
            TA的关注
        </div>
        <div class="card-body">
            @if($followers->count()>0)
            @foreach($followers as $follower )
                <div class="col-6 col-sm-3 mb-2">
                    <div class="bg-white shadow-sm border">
                        <a href="{{route('edu.center.topic.index',$user)}}" style="height:100px; overflow: hidden;"
                           class="d-block border-bottom">
                            <img
                                src="{{$user->icon}}"
                                style="width:100%;">
                        </a>
                        <div class="pt-0 p-3">
                            <h6 class="text-muted text-center">{{$user->name}}</h6>
                        </div>

                    </div>
                </div>
            @endforeach
            @else
                @include('edu::layouts.nothingTips',['content'=>'暂无关注'])
            @endif
        </div>
        <div class="card-footer text-muted bg-white">
            @include('edu::layouts.paginate',['data'=>$followers])
        </div>
    </div>

@endsection
